﻿namespace StudyCompanion.Commons.Authorize;

public static class ClaimConst
{
    /// <summary>
    ///     用户Id
    /// </summary>
    public const string UserId = "user_id";

    /// <summary>
    ///     账号
    /// </summary>
    public const string UserName = "user_name";

    /// <summary>
    ///     收发者
    /// </summary>
    public const string Audience = "aud";

    /// <summary>
    ///     签发者
    /// </summary>
    public const string Issuer = "iss";

    /// <summary>
    ///     角色
    /// </summary>
    public const string Role = "role";

    /// <summary>
    ///     客户端Id
    /// </summary>
    public const string ClientId = "client_id";

    /// <summary>
    ///     授权时间
    /// </summary>
    public const string AuthTime = "auth_time";
}